package day1;

import java.util.Arrays;

/**
 * @author oldliu
 * @since 1.0
 */
public class SystemTest2 {
    public static void main(String[] args) {
        //arrayCopy
        int []a1={1,2,3,5,67,8,88,99,100};
        int []a2=new int[20];
        /////!!!最重要的之一
        System.arraycopy(a1,0,a2,4,a1.length);
        System.out.println(Arrays.toString(a1));
        System.out.println(Arrays.toString(a2));
        System.arraycopy(a1,0,a1,3,3);
        System.out.println(Arrays.toString(a1));
    }
}
